

#ifndef _SHELL_RESRANKINGINFOS_MESSAGE_H_
#define _SHELL_RESRANKINGINFOS_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include "RankInfo.h"
//#include <vector>
using namespace std;

class ResRankingInfosMessage : public Message
{
	public:
	ResRankingInfosMessage();
	~ResRankingInfosMessage();
	void reset();
	ResRankingInfosMessage* clone();
	static const int _ID;
	//金钱排行
	vector<RankInfo*> moneyRankings;
	//战力排行
	vector<RankInfo*> forceRankings;
	//等级排行
	vector<RankInfo*> levelRankings;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
